package cn.itheima.dao;

import cn.itheima.domain.Area;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * Created by millions on 2017/7/3.
 */
public interface AreaRepository extends JpaRepository<Area,String>,JpaSpecificationExecutor<Area>{

    Area findByProvinceAndCityAndDistrict(String province, String city, String district);
}
